package com.ezops.models;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

@Entity
@Table(name = "ASSETLOOKUP")
public class Asset implements LookUpAble, DomainEntity {


	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name = "ASSET_ID")
	private int assetId;

	@Column(name = "ASSET_NAME")
	private String assetName;

	public String getAssetName() {
		return assetName;
	}

	public void setAssetName(String assetName) {
		this.assetName = assetName;
	}
	
	public String getId() {
		return String.valueOf(assetId);
	}

	public void setId(int assetId) {
		this.assetId = assetId;
	}

	@Transient
	public int getAssetId() {
		return assetId;
	}

	@Transient
	public void setAssetId(int assetId) {
		this.assetId = assetId;
	}


}
